# Only for x86_64 because the frps binary release file is built for x86_64
FROM alpine:latest
COPY /frps/ /opt/frps

RUN set -ex \
  && chmod +x /opt/frps/frps

EXPOSE 8081
EXPOSE 80

ENTRYPOINT ["/opt/frps/frps", "-c", "/opt/frps/frps.ini"]